(debug): Set overriding-terminal-local-map to nil,
authorRichard M. Stallman <rms@gnu.org>
Mon, 9 Jun 1997 16:42:34 +0000 (16:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 9 Jun 1997 16:42:34 +0000 (16:42 +0000)
don't bind it, so it won't be restored on `q'.

lisp/emacs-lisp/debug.el

index e258533bf1581a21a637c5df17318df411425498..d3383992f54018bce02974ff5d2c1fce92ef3751 100644 (file)
@@ -98,13 +98,15 @@ first will be printed into the backtrace buffer."
        (debugger-outer-standard-input standard-input)
        (debugger-outer-standard-output standard-output)
        (debugger-outer-cursor-in-echo-area cursor-in-echo-area))
+    ;; Set this instead of binding it, so that `q'
+    ;; will not restore it.
+    (setq overriding-terminal-local-map nil) 
     ;; Don't let these magic variables affect the debugger itself.
     (let ((last-command nil) this-command track-mouse
          (unread-command-char -1) unread-command-events
          last-input-event last-command-event last-nonmenu-event
          last-event-frame
          overriding-local-map
-         overriding-terminal-local-map
          load-read-function
          (standard-input t) (standard-output t)
          (cursor-in-echo-area nil))